.search {
    margin: 1rem;
}

.search_person {
    margin-left: 1rem;

    .search_select {
        margin-left: 1rem;
        width: 10rem;
        margin-right: 1rem;
    }
}

.search_btn {
    display: inline-block;
    width: 5rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    background-color: #0099ff;
    color: #fff;
    border-radius: 0.5rem;
    cursor: pointer;
    border: none;
}

.reset {
    display: inline-block;
    width: 5rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    color: #fff;
    border-radius: 0.5rem;
    cursor: pointer;
    border: none;
    margin-left: 1rem;
    background-color: #a7c1d1;
}

.inspection-detail {
    .detail-item {
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        
        &:last-child {
            margin-bottom: 0;
        }

        .label {
            width: 100px;
            color: #666;
            font-weight: 500;
        }

        .value {
            flex: 1;
            
            &.status-normal {
                color: #52c41a;
            }
            
            &.status-warning {
                color: #ff4d4f;
            }
        }
    }
}

// Modal 样式
.ant-modal {
    .ant-modal-content {
        background: #fff;
        border-radius: 4px;
    }

    .ant-modal-header {
        border-bottom: 1px solid #f0f0f0;
        padding: 16px 24px;
        
        .ant-modal-title {
            font-weight: 500;
        }
    }

    .ant-modal-body {
        padding: 24px;
    }
}


.maintenance-detail {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 4px;

    .detail-item {
        margin-bottom: 16px;
        display: flex;
        
        &:last-child {
            margin-bottom: 0;
        }

        .label {
            width: 120px;
            color: #666;
            font-weight: 500;
        }

        .value {
            flex: 1;
            color: #333;

            &.status-待处理 {
                color: #faad14;
            }
            &.status-待审核 {
                color: #1890ff;
            }
            &.status-已审核 {
                color: #52c41a;
            }
        }

        .file-list {
            .file-item {
                padding: 4px 0;
                color: #1890ff;
                cursor: pointer;

                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }
}

.ant-modal {
    .ant-modal-header {
        background: #f7f7f7;
        border-bottom: 1px solid #f0f0f0;
        padding: 16px 24px;
    }

    .ant-modal-content {
        border-radius: 4px;
    }

    .ant-modal-body {
        padding: 24px;
    }
}